Optimal. Leaf size=74 \[ \frac {(d \tan (a+b x))^{n+5}}{b d^5 (n+5)}+\frac {2 (d \tan (a+b x))^{n+3}}{b d^3 (n+3)}+\frac {(d \tan (a+b x))^{n+1}}{b d (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2607, 270} \[ \frac {2 (d \tan (a+b x))^{n+3}}{b d^3 (n+3)}+\frac {(d \tan (a+b x))^{n+5}}{b d^5 (n+5)}+\frac {(d \tan (a+b x))^{n+1}}{b d (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 2607
Rubi steps
\begin {align*} \int \sec ^6(a+b x) (d \tan (a+b x))^n \, dx &=\frac {\operatorname {Subst}\left (\int (d x)^n \left (1+x^2\right )^2 \, dx,x,\tan (a+b x)\right )}{b}\\ &=\frac {\operatorname {Subst}\left (\int \left ((d x)^n+\frac {2 (d x)^{2+n}}{d^2}+\frac {(d x)^{4+n}}{d^4}\right ) \, dx,x,\tan (a+b x)\right )}{b}\\ &=\frac {(d \tan (a+b x))^{1+n}}{b d (1+n)}+\frac {2 (d \tan (a+b x))^{3+n}}{b d^3 (3+n)}+\frac {(d \tan (a+b x))^{5+n}}{b d^5 (5+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 2.10, size = 101, normalized size = 1.36 \[ \frac {d (d \tan (a+b x))^{n-1} \left (\tan ^2(a+b x) \sec ^4(a+b x) \left (2 (n+3) \cos (2 (a+b x))+\cos (4 (a+b x))+n^2+6 n+8\right )+8 \left (-\tan ^2(a+b x)\right )^{\frac {1-n}{2}}\right )}{b (n+1) (n+3) (n+5)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 85, normalized size = 1.15 \[ \frac {{\left (8 \, \cos \left (b x + a\right )^{4} + 4 \, {\left (n + 1\right )} \cos \left (b x + a\right )^{2} + n^{2} + 4 \, n + 3\right )} \left (\frac {d \sin \left (b x + a\right )}{\cos \left (b x + a\right )}\right )^{n} \sin \left (b x + a\right )}{{\left (b n^{3} + 9 \, b n^{2} + 23 \, b n + 15 \, b\right )} \cos \left (b x + a\right )^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \tan \left (b x + a\right )\right )^{n} \sec \left (b x + a\right )^{6}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.63, size = 0, normalized size = 0.00 \[ \int \left (\sec ^{6}\left (b x +a \right )\right ) \left (d \tan \left (b x +a \right )\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.95, size = 77, normalized size = 1.04 \[ \frac {\frac {d^{n} \tan \left (b x + a\right )^{n} \tan \left (b x + a\right )^{5}}{n + 5} + \frac {2 \, d^{n} \tan \left (b x + a\right )^{n} \tan \left (b x + a\right )^{3}}{n + 3} + \frac {\left (d \tan \left (b x + a\right )\right )^{n + 1}}{d {\left (n + 1\right )}}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (d\,\mathrm {tan}\left (a+b\,x\right )\right )}^n}{{\cos \left (a+b\,x\right )}^6} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \tan {\left (a + b x \right )}\right )^{n} \sec ^{6}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________